#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT(parallel-experiment, 3.0, [pedrohml@gmail.com])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CXX([mpicxx])

# Checks for libraries.
AC_CHECK_LIB([gomp], [omp_get_threads_num])

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([malloc.h stdlib.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([floor gethostname sqrt])

AC_CONFIG_FILES([Makefile
                 src/Makefile])
AC_OUTPUT
